package com.family.service;

import com.family.model.RelationShipState;
import com.family.model.Relationship;
import com.family.model.User;

import java.util.List;

/**
 * 关系操作
 */
public interface RelationshipService {

    int insertRelationship(User user, Relationship... list);

    int updateRelationship(User user, Relationship... list);

    List<RelationShipState> queryRelationships();

    RelationShipState queryRelationshipById(int shipId);

//    Relationship insertRelationship(Relationship relationship);
}
